package com.brainhealth.customer.domain;

import com.brainhealth.common.enums.ShowStatus;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 分享链接对象 share_link
 * 
 * @author wolong
 * @date 2023-06-07
 */
public class ShareLink extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分享链接主键 */
    private Long shareLinkId;

    /**
     * 训练产品ID
     */
    private Long exerciseProductId;

    /** 标题名称 */
    @Excel(name = "标题名称")
    private String title;

    /** 链接描述 */
    @Excel(name = "链接描述")
    private String description;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String pictureUrl;

    /** 连接地址 */
    @Excel(name = "连接地址")
    private String url;

    /** 有效天数 */
    @Excel(name = "有效天数")
    private Long validDay;

    /** 状态 */
    @Excel(name = "状态")
    private ShowStatus status;

    public Long getExerciseProductId()
    {
        return exerciseProductId;
    }

    public void setExerciseProductId(Long exerciseProductId)
    {
        this.exerciseProductId = exerciseProductId;
    }

    public void setShareLinkId(Long shareLinkId)
    {
        this.shareLinkId = shareLinkId;
    }

    public Long getShareLinkId() 
    {
        return shareLinkId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPictureUrl(String pictureUrl) 
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl() 
    {
        return pictureUrl;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setValidDay(Long validDay) 
    {
        this.validDay = validDay;
    }

    public Long getValidDay() 
    {
        return validDay;
    }

    public ShowStatus getStatus()
    {
        return status;
    }

    public void setStatus(ShowStatus status)
    {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shareLinkId", getShareLinkId())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("pictureUrl", getPictureUrl())
            .append("url", getUrl())
            .append("validDay", getValidDay())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
